package cn.rabbitmq;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author user_xdd
 * @Date 2022-05-13 14:46
 * @description
 * @return
 */
@Slf4j
@RequestMapping("2")
@RestController
public class mytest1 {
    @GetMapping("sendMsg2/{message}")
    public void sendMsg(@PathVariable String message) {
        log.info(message);
          }
}
